package fun.ticsmyc.designPattern;

/**
 * @author Ticsmyc
 * @package fun.ticsmyc.designPattern
 * @date 2020-08-13 20:10
 */
public enum Singleton4 {
    INSTANCE("123");

    private String name;
    private Singleton4(String name){
        this.name = name;
        System.out.println("创建");
    }

}
